import StationList from 'views/stationList'
import CityList from 'views/cityList'
import StationMap from 'views/stationMap'
import HeartCard from 'views/heartCard'
import Personal from 'views/personal'
import OrderList from 'views/orderList'
import OrderDetail from 'views/orderDetail'
import Order from 'views/order'
import OneKeyGas from 'views/oneKeyGas'
import Recharge from 'views/recharge'
import RechargeOrder from 'views/rechargeOrder'
import RechargeDetail from 'views/rechargeDetail'

let gas = [
  {
    path: '/stationlist',
    name: 'StationList',
    component: StationList,
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/citylist',
    name: 'CityList',
    component: CityList,
    meta: {
      keepAlive: true
    }
  },
  {
    path: '/heartcard',
    name: 'HeartCard',
    component: HeartCard,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/oneKeyGas',
    name: 'OneKeyGas',
    component: OneKeyGas,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/personal',
    name: 'Personal',
    component: Personal,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/stationmap',
    name: 'StationMap',
    component: StationMap,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/order',
    name: 'Order',
    component: Order,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/orderlist',
    name: 'OrderList',
    component: OrderList,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/orderDetail/1/:id',
    name: 'OrderDetail1',
    component: OrderDetail,
    text: '一键加油',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/orderDetail/2/:id',
    name: 'OrderDetail2',
    component: RechargeDetail,
    text: '油卡充值',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/recharge',
    name: 'Recharge',
    component: Recharge,
    meta: {
      requireAuth: true
    }
  },
  // {
  //   path: '/rechargeDetail/:id',
  //   name: 'RechargeDetail',
  //   component: RechargeDetail,
  //   meta: {
  //     requireAuth: true
  //   }
  // },
  {
    path: '/rechargeorder',
    name: 'RechargeOrder',
    component: RechargeOrder,
    meta: {
      requireAuth: true
    }
  }
]

export default gas
